SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 61387: When users import scenario files, the Modified By column on the Global Scenarios page might display incorrect user names

DetailsAboutRate It

In SAS® Risk and Finance Workbench, when users import scenario files, the Modified By column on the Global Scenarios page or in the SAS Scenario Manager's window might display incorrect user names. For example, if one user imports a scenario file, and then another user modifies and re-imports that file, then the scenarios might incorrectly show the name of the first user as the modifier of the file. In this example, the name of the second user should be displayed. 

There are no warnings or errors.

To work around this issue, complete these steps:

  1. Open the .../<Config>/Lev1/Web/WebAppServer/SASServer11_1/sas_webapps/sas.stresstesting.war/WEB-INF/spring-config/app-core-config.xml configuration file.
  2. Add the scope= attribute: 
    Original line:
    <bean id="httpRequestFactory" class="com.sas.stress.rest.util.StressHttpComponentsClientHttpRequestFactory">

    Edited line:
    <bean id="httpRequestFactory" scope="prototype" class="com.sas.stress.rest.util.StressHttpComponentsClientHttpRequestFactory">
  3. Ensure that there is at least one space before the word "scope" and at least one space before the word "class" on the edited line.
  4. After modifying and saving this file, restart the SASServer11_1. Then, on the Scenario page, the Modified By column should show the credentials of the user who created or modified the scenarios.

SAS recommends that this change to the configuration file should be implemented for all SAS Risk and Finance Workbench deployments using scenarios.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Risk and Finance WorkbenchMicrosoft® Windows® for x642.33.19.4 TS1M49.4 TS1M5
Linux for x642.33.19.4 TS1M49.4 TS1M5
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.